package week11;

import java.util.concurrent.TimeUnit;

public interface Lock {
    boolean tryLock(long timeout, TimeUnit unit);
    void lock();
    void unlock();
}
